// 获取元素图列表
export const listGallery = (params) => {
    return $fetchList(`/mes/gallery/list`, {
      method: "GET",
      query: {
        ...params,
      },
    });
  };


// 将元素图发布到商城
export const publishToMall = (params) => {
    return $api(`/mes/gallery/publish`, {
      method: "POST",
      body: {
        ...params,
      },
    });
  };